<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<style>
  .d{
    margin: 40px auto;
    width: 1px;
    height: 1px;
    background: #000;
    border-right: 20px solid red;
    border-left: 20px solid red;
    border-top: 20px solid red;
  }
</style>
<body>

<script>
  const props = {
    size: 1,
    src: 'xxxx',
    mode: 'si'
  }


  const { size,mode, ...q } = props;

  console.log(q)
</script>
<div class="d">

</div>
</body>
</html>
